package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目税款利润统计 历史记录对象 t_sp_count_tax_history
 * 
 * @author ruoyi
 * @date 2024-12-10
 */
public class TSpCountTaxHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    private Long projectId;

    /** 统计年月：202402 */
    private String countDate;

    /** 税率：百分制，6代表6% */
    @Excel(name = "税率：百分制，6代表6%")
    private BigDecimal taxRate;

    /** 开票金额 */
    @Excel(name = "开票金额")
    private BigDecimal billMoney;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal taxMoney;

    /** 收入合计 */
    @Excel(name = "收入合计")
    private BigDecimal incomeMoney;

    /** 支出合计 */
    @Excel(name = "支出合计")
    private BigDecimal payMoney;

    /** 利润合计 */
    @Excel(name = "利润合计")
    private BigDecimal profitMoney;

    /** 利润率：利润合计/收入合计=80，代表80%, */
    @Excel(name = "利润率：利润合计/收入合计=80，代表80%,")
    private BigDecimal profitRate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPerson;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatePerson;

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setCountDate(String countDate) 
    {
        this.countDate = countDate;
    }

    public String getCountDate() 
    {
        return countDate;
    }
    public void setTaxRate(BigDecimal taxRate) 
    {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxRate() 
    {
        return taxRate;
    }
    public void setBillMoney(BigDecimal billMoney) 
    {
        this.billMoney = billMoney;
    }

    public BigDecimal getBillMoney() 
    {
        return billMoney;
    }
    public void setTaxMoney(BigDecimal taxMoney) 
    {
        this.taxMoney = taxMoney;
    }

    public BigDecimal getTaxMoney() 
    {
        return taxMoney;
    }
    public void setIncomeMoney(BigDecimal incomeMoney) 
    {
        this.incomeMoney = incomeMoney;
    }

    public BigDecimal getIncomeMoney() 
    {
        return incomeMoney;
    }
    public void setPayMoney(BigDecimal payMoney) 
    {
        this.payMoney = payMoney;
    }

    public BigDecimal getPayMoney() 
    {
        return payMoney;
    }
    public void setProfitMoney(BigDecimal profitMoney) 
    {
        this.profitMoney = profitMoney;
    }

    public BigDecimal getProfitMoney() 
    {
        return profitMoney;
    }
    public void setProfitRate(BigDecimal profitRate) 
    {
        this.profitRate = profitRate;
    }

    public BigDecimal getProfitRate() 
    {
        return profitRate;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setUpdatePerson(String updatePerson) 
    {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() 
    {
        return updatePerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("countDate", getCountDate())
            .append("taxRate", getTaxRate())
            .append("billMoney", getBillMoney())
            .append("taxMoney", getTaxMoney())
            .append("incomeMoney", getIncomeMoney())
            .append("payMoney", getPayMoney())
            .append("profitMoney", getProfitMoney())
            .append("profitRate", getProfitRate())
            .append("createDate", getCreateDate())
            .append("createPerson", getCreatePerson())
            .append("updateDate", getUpdateDate())
            .append("updatePerson", getUpdatePerson())
            .toString();
    }
}
